Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(raiko): retry task if previous running failed. #408

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

smtmfft
Copy link
Contributor

@smtmfft smtmfft commented Nov 14, 2024

No description provided.

Signed-off-by: smtmfft <[email protected]>
Signed-off-by: smtmfft <[email protected]>
@smtmfft smtmfft deployed to test-environment November 15, 2024 03:18 — with GitHub Actions Active
| TaskStatus::UnspecifiedFailureReason => {
manager
.update_task_progress(key, TaskStatus::Registered, None)
.await?;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the update fails or task_channel is full, do we need to retry?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both update fail & task_channel error will not be log into taskdb. For channel error, when client retries, if that time channel is free, it should be ok.
but update failure may not automatically recovered I think. for example if redis has no response, we must restart k8s node??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants